package com.traffic.mapper;

import java.util.List;
import com.traffic.domain.BusinessTripReimbursement;
import org.apache.ibatis.annotations.Mapper;

/**
 * 出差报销Mapper接口
 * 
 * @author ywt
 * @date 2024-09-19
 */
@Mapper
public interface BusinessTripReimbursementMapper 
{
    /**
     * 查询出差报销
     * 
     * @param id 出差报销主键
     * @return 出差报销
     */
    public BusinessTripReimbursement selectBusinessTripReimbursementById(Long id);

    /**
     * 查询出差报销列表
     * 
     * @param businessTripReimbursement 出差报销
     * @return 出差报销集合
     */
    public List<BusinessTripReimbursement> selectBusinessTripReimbursementList(BusinessTripReimbursement businessTripReimbursement);

    /**
     * 新增出差报销
     * 
     * @param businessTripReimbursement 出差报销
     * @return 结果
     */
    public int insertBusinessTripReimbursement(BusinessTripReimbursement businessTripReimbursement);

    /**
     * 修改出差报销
     * 
     * @param businessTripReimbursement 出差报销
     * @return 结果
     */
    public int updateBusinessTripReimbursement(BusinessTripReimbursement businessTripReimbursement);

    /**
     * 删除出差报销
     * 
     * @param id 出差报销主键
     * @return 结果
     */
    public int deleteBusinessTripReimbursementById(Long id);

    /**
     * 批量删除出差报销
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusinessTripReimbursementByIds(Long[] ids);
}
